package cn.sunjinxin.trade.domain.gateway;

import cn.sunjinxin.trade.dal.po.OrderPo;
import cn.sunjinxin.trade.dal.po.TempOrderPo;
import cn.sunjinxin.trade.domain.model.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author issavior
 */
public interface OrderGateway extends IService<OrderPo> {

    public void save(Order order);

    public Order getOrderById(Long id);

    void batchSave(List<Order> tpOrders);
}
